<?php
/**
* @version		$Id:default.php 1 2014-07-19 17:36:06Z Hoang Yen $
* @copyright	Copyright (C) 2014, Hoang Yen. All rights reserved.
* @license 		http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL
*/
// no direct access
defined('_JEXEC') or die('Restricted access');
?>
<div class="componentheading<?php echo $this->escape($this->get('pageclass_sfx')); ?>"><h2><?php echo $this->params->get('page_title');  ?></h2></div>

<div class="contentpane">
	  <table>
		<thead><?php echo $this->loadTemplate('head');?></thead>
		<tfoot><?php //echo $this->loadTemplate('foot');?></tfoot>
		<tbody><?php echo $this->loadTemplate('body');?></tbody>
	</table>
	<h2>Them nguyen lieu</h2>
	<form action="<?php echo JRoute::_('index.php')?>" enctype="multipart/form-data" method="post">
	  	<ul>
	  		<li>
	  			<span style="float: left; width: 100px;"><?php echo $this->form->getLabel('name'); ?></span> 
	  			: <?php echo $this->form->getInput('name'); ?>
	  		</li>
	  		<li>
	  			<span style="float: left; width: 100px;"><?php echo $this->form->getLabel('alias'); ?></span> 
	  			: <?php echo $this->form->getInput('alias'); ?>
	  		</li>
	  		<li>
	  			<span style="float: left; width: 100px;"><?php echo $this->form->getLabel('description'); ?></span> 
	  			: <?php echo $this->form->getInput('description'); ?>
	  		</li>
	  		<li>
		        <button type="submit" style="width: 100px;">
		            <?php echo JText::_('JSAVE') ?>
		        </button>
	  		</li>
	  	</ul>
	  	<!-- PATH -->
	  	<input type="hidden" name="option" value="com_restaurantManage" />
	    <input type="hidden" name="task" value="zelement.addElement" />
		<input type="hidden" name="view" value="zelements" />
		<?php echo JHTML::_( 'form.token' ); ?>
	</form>
</div>
 